
#import "Signs.h"

@implementation Signs

const char *fileName; // The fileName for the SaveFile method


- LoadFile:sender
{
	char        buf[MAXPATHLEN + 1];
	NXBundle   *bundle;

	bundle = [NXBundle bundleForClass:[self class]];
	if ( [bundle getPath:buf forResource:fileName ofType:"rtfd"] ) 
	{
    	[TheSV openRTFDFrom:buf];
	[TheWin setTitle: fileName];
	[TheWin orderFront:sender];
	}

    return self;
}




- Aquarius:sender
{
	fileName = "Aquarius";
	[self LoadFile:self];
	
    return self;
}

- Aries:sender
{
	fileName = "Aries";
	[self LoadFile:self];
	
    return self;
}

- Cancer:sender
{
	fileName = "Cancer";
	[self LoadFile:self];
	
    return self;
}

- Capricorn:sender
{
	fileName = "Capricorn";
	[self LoadFile:self];
	
    return self;
}

- Gemini:sender
{
	fileName = "Gemini";
	[self LoadFile:self];
	
    return self;
}

- Leo:sender
{
 	fileName = "Leo";
	[self LoadFile:self];
	
    return self;
}

- Libra:sender
{
	fileName = "Libra";
	[self LoadFile:self];
	
    return self;
}

- Pisces:sender
{
  	fileName = "Pisces";
	[self LoadFile:self];
	
    return self;
}

- Sagittarius:sender
{
	fileName = "Sagittarius";
	[self LoadFile:self];
	
    return self;
}

- Scorpio:sender
{
	fileName = "Scorpio";
	[self LoadFile:self];
	
    return self;
}

- Taurus:sender
{
	fileName = "Taurus";
	[self LoadFile:self];
	
    return self;
}

- Virgo:sender
{
  	fileName = "Virgo";
	[self LoadFile:self];
	
    return self;
}

- Compatibility:sender
{
  	fileName = "Compatibility";
	[self LoadFile:self];
	
    return self;
}

- Chinese:sender
{
  	fileName = "Chinese";
	[self LoadFile:self];
	
    return self;
}

- PrintTheWin:sender
{

	[TheSV printPSCode:self];

	return self;
}

- MoreInfo:sender
{

	[NXApp loadNibSection:"MoreInfo.nib" owner:self]; // load nib

	return self;
}



@end
